﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Actuals.CoreDomain.Business;
using Actuals.CoreDomain.Data;
using Actuals.CoreDomain;
using Actuals.Data;
using Actuals.Business;

namespace Actuals.Business
{
    public class BusinessResourceProjection : IBusinessResourceProjection
    {
        private IDalResourceProjection _dalResourceProjection;

        public BusinessResourceProjection (IDalResourceProjection dalResourceProjection)
       {
           _dalResourceProjection = dalResourceProjection;
       }
        public BusinessResourceProjection()
       {
           _dalResourceProjection = new DalResourceProjection();
       }
        public IList<IResourceProjection> GetResourceProjection(string listOfEmpId,
            DateTime startDate, DateTime endDate)
        {
            return _dalResourceProjection.GetResourceProjection(listOfEmpId, startDate, endDate);
        }

    }
}
